package com.xing.DTO;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/7/16 11:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    private String username;
    private String password;
    private String email;
    List<String> power;
}
